<?php

$table=new swoole_table(1024);

$table->column('id',$table::TYPE_INT,4);
$table->column('name',$table::TYPE_STRING,64);
$table->column('age',$table::TYPE_INT,3);
$table->create();

$table->set('hk',['id'=>1,'name'=>'hk','age'=>18]);
$table['hk1']=['id'=>2,'name'=>'hk1','age'=>28];

print_r($table->get('hk'));
print_r($table['hk1']);
$table->incr('hk1','age',2);
print_r($table->get('hk1'));
//print_r($table);





